<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>会员登录-龙耀游戏</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="中玩，中玩游戏，中玩游戏平台，游戏，最好玩的游戏，刺激，网游 " />
    <meta name="description" content="中玩是中国专业网页游戏研发、运营及服务的提供商，亦是中国第一家以网吧网页游戏平台为主的运营商，公司致力于成为全国领先的互联网快乐服务提供商" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <link href="./css/login.css" rel="stylesheet" />
    <script src="./js/jquery-1.8.2.min.js"></script>
    <script src="./js/self/base.js" type="text/javascript"></script>
    <script src="./js/layer/layer.js" type="text/javascript"></script>
</head>

<body>

    <div id="header_login" style="background: red;">
        <div id="head" class="header" style="background: red;">
            <div class="fl logo">
                <a href="/home/index">
                    <img src="http://oss.aliyuncs.com/cnwanimage/Upload/cnwan/cnwan_logo.png"/>

                </a>
            </div>
            <h3>会员登录</h3>
            <p>没有账号？ <a href="../member/index_do.php?fmdo=user&dopost=regnew" target="_blank" class="round">免费注册</a></p>
        </div>
    </div>

    <div class="wrapper">
        <div class="fl main2 mt50">
            <div class="fl signpic">
                <img src="./images/p1.jpg">
            </div>
            <div class="fr signin">
                <h3>欢迎来到龙耀</h3>
                <form name="form1" method="post" action="index_do.php" id="form1">
                    <input type="hidden" name="fmdo" value="login">
                    <input type="hidden" name="dopost" value="login">
                    <input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
                    <input type="hidden" name="RedirectUrl"  id="RedirectUrl" />
                    <input type="text" name="userid" id="playername" class="input_text mt20" placeholder="用户ID" onkeypress="EnterPlayernamesPress(event);" />
                    <input type="password" name="pwd" id="password" class="input_text mt20" placeholder="密码" onkeypress="EnterPasswordsPress(event);" />
                    <br>
                    <br>
                    <input id="vdcode" class="text login_from3" type="text" style="width: 85px; text-transform: uppercase; border: 1px solid gray;" name="vdcode"/>
                    <img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清？点击更换" src="../include/vdimgck.php"/>
           看不清？ <a href="#" onclick="changeAuthCode();">点击更换</a> </li>
                    <p>
                        <a href="resetpassword.php" target="_blank">忘记密码?</a>
                    </p>
                    <input type="submit" name="button" id="buttons" value="登录" class="gy_btn sign_btn round fs16" style="background: red;" />
                </form>
            </div>
        </div>
    </div>
    <div class="footer">
        <div class="foot">
            <div class="fl foot_left pt30">
                <div class="fl gy quick">
                    <h3>快速通道</h3>
                    <ul>
                        <li><a href="/home/FindBackPaassWord" target="_blank">找回密码</a></li>
                        <li><a href="/home/servicecontent?ArticleTypeID=1" target="_blank">账号修复</a></li>
                        <li><a href="/home/servicecontent?ArticleTypeID=1" target="_blank">被盗申诉</a></li>
                    </ul>
                </div>
                <div class="fl gy service">
                    <h3>客服中心</h3>
                    <ul>
                        <li><a href="/home/service" target="_blank">24小时在线客服</a></li>
                        <li><a href="/home/servicecontent?ArticleTypeID=1" target="_blank">帮助中心</a></li>
                        <li><a href="/home/service" target="_blank">意见反馈</a></li>
                    </ul>
                </div>
                <div class="fl gy about">
                    <h3>关于</h3>
                    <ul>
                        <li><a href="/home/AboutCnWan" target="_blank">关于中玩</a></li>
                        <li><a href="/home/AboutCnWan#Anchor1" target="_blank">商务合作</a></li>
                        <li><a href="/home/privacy" target="_blank">隐私条款</a></li>
                    </ul>
                </div>
            </div>
            <div class="fr foot_right pt30">
                <div class="footlogo">
                    <a href="/home/index">
                        <img src="./images/logo2.png" alt="LOGO" /></a>
                </div>
                <p>
                    <a href="./images/cnwww.jpg" class="blue" target="_blank">北京新创京网文[2014]0024-024号</a>
                    <br />
                    <a href="http://www.miitbeian.gov.cn" class="blue" target="_blank">京ICP备14000728号-2</a>
                </p>
            </div>
        </div>

        <div class="fl copy mt15">
            <p>© 2014 cnwan.com</p>
            <a href="/home/aboutcustody" target="_blank" class="fr blue">家长监护系统</a>
        </div>

    </div>
</body>
</html>
<script type="text/javascript">

    function EnterPlayernamesPress(e) {
        var e = e || window.event;
        if (e.keyCode == 13) {
            $("#password").focus();
        }
    }
    function EnterPasswordsPress(e) {
        var e = e || window.event;
        if (e.keyCode == 13) {
            logins();
        }
    }


    function logins() {
        $("#password").removeAttr("onkeypress");
        if ($("#playername").val() != "" && $("#password").val() != "") {
            MessageBox.loading("正在登录......");
            formAllValue = $("#form1").serialize();
            $.post("/home/Login", formAllValue, function (data) {
                MessageBox.close();
                if (data != null) {
                    if (!data.Success) {
                        alert(data.Info);
                    } else {
                        if (data.Info == "suceess") {
                            window.location.href = data.Value;
                        } else {
                            window.location.href = "/home/index";
                        }
                    }
                }
                $("#password").attr("onkeypress", "EnterPasswordsPress(event);");
            });
        }
    }
</script>